<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>JSP - Hello World</title>
</head>
<body>

<table>
    <caption>已登录用户</caption>
    <tr>
        <th>用户名</th>
        <th>Session</th>
        <th>提除</th>
    </tr>
    <c:forEach items="${map}" var="entry">
        <tr>
            <td> ${entry.key}</td>
            <td> ${entry.value}</td>
            <td><a href="${pageContext.request.contextPath}/kickServlet?name=${entry.key}">踢除</a></td>
        </tr>
    </c:forEach>
</table>
</body>
</html>